LU

[Encerrado] [Pokemon] Dúvidas? - Pda

Por lucashgas, 10 de jan. de 2012 em Tópicos Sem Resposta

brun123
pokemon
otserv
tibia
12.4k
2M
BrunooMaciellB
23 de fevereiro de 2012 às 13:58

vol testa um negocio dos pokes inicial que ali em cima mi falarao como faz

fstatkF
23 de fevereiro de 2012 às 14:04

BUG: When i buy nick name to my pokemon and use the pokemon bar to call back and call out a other pokemon, the other pokemon get same name like my first pokemon.

Editado Fevereiro 23 por fstatk

lucasrp2000L
23 de fevereiro de 2012 às 14:25

o link do download ta com erro ta quebrado ? se tiver passa outro ai por favor

koisK
23 de fevereiro de 2012 às 14:38

Galera Eu Preciso de ajuda queria saber Como adicionar novas Ball No Dash alaquem sabe ??

 

 

 

 

 

Meus Poke Do meu server =D

 

post-323651-0-73403000-1330014007_thumb.png

 

 

post-323651-0-80239400-1330014982_thumb.png

diegoSkateD
23 de fevereiro de 2012 às 14:48

@up: mano olha os posts do topico que vc vai saber como add... procura manolo!!

KATTERK
23 de fevereiro de 2012 às 14:50

quem postar pokes de kanto tera +rep infinito!!

koisK
23 de fevereiro de 2012 às 15:03

@up LoL os poke de kanto Jah vem no server né

@diegoSkate Vlw Vou dar Uma Procurada

MarcosFragaM
23 de fevereiro de 2012 às 15:37

@thedjhabbo

Poderia fazer um tuto simples porem funcional de como adicionar uma ball? eu sei que você vai passar o seu completo e tal mas pelo visto vai ser um client seu eu to querendo implantar no meu client que tem muita coisa editada (pokes pxg, addos, novos itens de box's etc..)

Editado Fevereiro 23 por SoulOroshie

rDs7008R
23 de fevereiro de 2012 às 15:51

@SoulOroshie

 

Tutorial de Como Adicionar Novas Balls:

 

1 - Adicione a ball no cliente

2 - Configure no item xml e otb a ball

3 - Adicione o id da ball na função isPokeBall (arquivo data/lib/somefunctions.lua)

4 - Adicione o id do ball no actions.xml na parte de goback.

5 - Adicione o id da ball no movements.xml na parte do portrait

6 - Adicione no data/lib/configuration.lua na tabela "pokeballs'

 

Exemplo no configuration.lua:

 

["normal"] = {effect = 188, on = 11826, use = 11827, off = 11828, all = {11826, 11827, 11828}},

 

Onde está em vermelho vc poe o efeito de goback da pokeball

Onde está em amarelo vc poe a ball

Onde está em verde vc poe a ball usada

Onde está em azul vc poe a ball com o pokemon morto

Onde está em marrom vc altera ali na tabela dentro, colocando os ids da ball on,off e use

Não esquecendo é claro de trocar aonde tem escrito ["normal"] pelo nome da sua ball.

Espero que tenha ajudado.

 

Gostou? REP +

Editado Fevereiro 23 por RicardoSohnn

diegorenan8D
23 de fevereiro de 2012 às 16:27

alguem sabe como eu coloko shiinys pra boosta ??? do um REP+

koisK
23 de fevereiro de 2012 às 16:35

eU SEI FAZER BOOST sHINY

 

@diego4500

Muito Facil

 

local ballslot = 12355

local ballslot_run = 12352

 

local stoneslot = 12354

local stoneslot_run = 12353

 

local button = 12356

local button_run = 12357

 

function isRunning(id)

if isInArray({button_run, stoneslot_run, ballslot_run}, id) then

return true

end

return false

end

 

boost_stones = {

["Bulbasaur"] = {leaf},

["Ivysaur"] = {leaf},

["Venusaur"] = {leaf},

["Charmander"] = {fire},

["Charmeleon"] = {fire},

["Charizard"] = {fire},

["Squirtle"] = {water},

["Wartortle"] = {water},

["Blastoise"] = {water},

["Caterpie"] = {coccon},

["Metapod"] = {coccon},

["Butterfree"] = {coccon},

["Weedle"] = {coccon},

["Kakuna"] = {coccon},

["Beedrill"] = {coccon},

["Pidgey"] = {heart},

["Pidgeotto"] = {heart},

["Pidgeot"] = {heart},

["Rattata"] = {heart},

["Raticate"] = {heart},

["Spearow"] = {heart},

["Fearow"] = {heart},

["Ekans"] = {venom},

["Arbok"] = {venom},

["Pikachu"] = {thunder},

["Raichu"] = {thunder},

["Sandshrew"] = {earth},

["Sandslash"] = {earth},

["Nidoran Female"] = {venom},

["Nidorina"] = {venom},

["Nidoqueen"] = {venom, earth},

["Nidoran Male"] = {venom},

["Nidorino"] = {venom},

["Nidoking"] = {venom, earth},

["Clefairy"] = {heart},

["Clefable"] = {heart},

["Vulpix"] = {fire},

["Ninetales"] = {fire},

["Jigglypuff"] = {heart},

["Wigglytuff"] = {heart},

["Zubat"] = {venom},

["Golbat"] = {venom},

["Oddish"] = {leaf, venom},

["Gloom"] = {leaf, venom},

["Vileplume"] = {leaf, venom},

["Paras"] = {coccon, leaf},

["Parasect"] = {coccon, leaf},

["Venonat"] = {coccon, venom},

["Venomoth"] = {coccon, venom},

["Diglett"] = {earth},

["Dugtrio"] = {earth},

["Meowth"] = {heart},

["Persian"] = {heart},

["Psyduck"] = {water},

["Golduck"] = {water, enigma},

["Mankey"] = {punch},

["Primeape"] = {punch},

["Growlithe"] = {fire},

["Arcanine"] = {fire},

["Poliwag"] = {water},

["Poliwhirl"] = {water},

["Poliwrath"] = {water, punch},

["Abra"] = {enigma},

["Kadabra"] = {enigma},

["Alakazam"] = {enigma},

["Machop"] = {punch},

["Machoke"] = {punch},

["Machamp"] = {punch},

["Bellsprout"] = {leaf, venom},

["Weepinbell"] = {leaf, venom},

["Victreebel"] = {leaf, venom},

["Tentacool"] = {water, venom},

["Tentacruel"] = {water, venom},

["Geodude"] = {earth, rock},

["Graveler"] = {earth, rock},

["Golem"] = {earth, rock},

["Ponyta"] = {fire},

["Rapidash"] = {fire},

["Slowpoke"] = {water, enigma},

["Slowbro"] = {water, enigma},

["Magnemite"] = {thunder, metal},

["Magneton"] = {thunder, metal},

["Farfetch'd"] = {heart},

["Doduo"] = {heart},

["Dodrio"] = {heart},

["Seel"] = {water, ice},

["Dewgong"] = {water, ice},

["Grimer"] = {venom},

["Muk"] = {venom},

["Shellder"] = {water, ice},

["Cloyster"] = {water, ice},

["Gastly"] = {dark},

["Haunter"] = {dark},

["Gengar"] = {dark},

["Onix"] = {rock, earth},

["Drowzee"] = {enigma},

["Hypno"] = {enigma},

["Krabby"] = {water},

["Kingler"] = {water},

["Voltorb"] = {thunder},

["Electrode"] = {thunder},

["Exeggcute"] = {enigma, leaf},

["Exeggutor"] = {enigma, leaf},

["Cubone"] = {earth},

["Marowak"] = {earth},

["Hitmonlee"] = {punch},

["Hitmonchan"] = {punch},

["Lickitung"] = {heart},

["Koffing"] = {venom},

["Weezing"] = {venom},

["Rhyhorn"] = {earth, rock},

["Rhydon"] = {earth, rock},

["Chansey"] = {heart},

["Tangela"] = {leaf},

["Leafeon"] = {leaf},

["Kangaskhan"] = {heart},

["Horsea"] = {water},

["Seadra"] = {water},

["Goldeen"] = {water},

["Seaking"] = {water},

["Staryu"] = {water},

["Starmie"] = {water},

["Mr. Mime"] = {enigma},

["Scyther"] = {coccon},

["Jynx"] = {enigma, ice},

["Electabuzz"] = {thunder},

["Magmar"] = {fire},

["Pinsir"] = {coccon},

["Tauros"] = {heart},

["Magikarp"] = {water},

["Gyarados"] = {water, crystal},

["Lapras"] = {water, ice},

["Glaceon"] = {water, ice},

["Ditto"] = {heart},

["Eevee"] = {heart},

["Vaporeon"] = {water},

["Jolteon"] = {thunder},

["Flareon"] = {fire},

["Porygon"] = {heart, enigma},

["Omanyte"] = {rock, water},

["Omastar"] = {rock, water},

["Kabuto"] = {rock, water},

["Kabutops"] = {rock, water},

["Aerodactyl"] = {rock},

["Snorlax"] = {heart},

["Articuno"] = {ice},

["Zapdos"] = {thunder},

["Moltres"] = {fire},

["Dratini"] = {crystal},

["Dragonair"] = {crystal},

["Dragonite"] = {crystal},

["Mewtwo"] = {enigma},

["shiny blastoise"] = {water},

["Mew"] = {enigma},

["Shiny Bulbasaur"] = {leaf},

["Shiny Ivysaur"] = {leaf},

["Shiny Venusaur"] = {leaf},

["Shiny Charmander"] = {fire},

["Shiny Charmeleon"] = {fire},

["Shiny Charizard"] = {fire},

["Shiny Squirtle"] = {water},

["Shiny Wartortle"] = {water},

["Shiny Blastoise"] = {water},

["Turtwig"] = {leaf},

["Grotle"] = {leaf},

["Torterra"] = {leaf},

["Treecko"] = {leaf},

["Grovyle"] = {leaf},

["Sceptile"] = {leaf},

["Cloned Torterra"] = {leaf},

["Bagon"] = {fire},

["Shelgon"] = {fire},

["Salamence"] = {fire},

["Chimchar"] = {fire},

["Monferno"] = {fire},

["Infernape"] = {fire},

["Cloned Infernape"] = {fire},

["Torchic"] = {fire},

["Combusken"] = {fire},

["Blaziken"] = {fire},

["Piplup"] = {water},

["Prinplup"] = {water},

["Empoleon"] = {water},

["Cloned Empoleon"] = {water},

["Shiny Caterpie"] = {coccon},

["Shiny Metapod"] = {coccon},

["Shiny Butterfree"] = {coccon},

["Shiny Weedle"] = {coccon},

["Shiny Kakuna"] = {coccon},

["Shiny Beedrill"] = {coccon},

["Shiny Pidgey"] = {heart},

["Shiny Pidgeotto"] = {heart},

["Shiny Pidgeot"] = {heart},

["Shiny Rattata"] = {heart},

["Shiny Raticate"] = {heart},

["Shiny Spearow"] = {heart},

["Shiny Fearow"] = {heart},

["Shiny Ekans"] = {venom},

["Shiny Arbok"] = {venom},

["Shiny Pikachu"] = {thunder},

["Shiny Raichu"] = {thunder},

["Shiny Sandshrew"] = {earth},

["Shiny Sandslash"] = {earth},

["Shiny Nidoran Female"] = {venom},

["Shiny Nidorina"] = {venom},

["Shiny Nidoqueen"] = {venom, earth},

["Shiny Nidoran Male"] = {venom},

["Shiny Nidorino"] = {venom},

["Shiny Nidoking"] = {venom, earth},

["Shiny Clefairy"] = {heart},

["Shiny Clefable"] = {heart},

["Shiny Vulpix"] = {fire},

["Shiny Ninetales"] = {fire},

["Shiny Jigglypuff"] = {heart},

["Shiny Wigglytuff"] = {heart},

["Shiny Zubat"] = {venom},

["Shiny Golbat"] = {venom},

["Shiny Oddish"] = {leaf, venom},

["Shiny Gloom"] = {leaf, venom},

["Shiny Vileplume"] = {leaf, venom},

["Shiny Paras"] = {coccon, leaf},

["Shiny Parasect"] = {coccon, leaf},

["Shiny Venonat"] = {coccon, venom},

["Shiny Venomoth"] = {coccon, venom},

["Shiny Diglett"] = {earth},

["Shiny Dugtrio"] = {earth},

["Shiny Meowth"] = {heart},

["Shiny Persian"] = {heart},

["Shiny Psyduck"] = {water},

["Shiny Golduck"] = {water, enigma},

["Shiny Mankey"] = {punch},

["Shiny Primeape"] = {punch},

["Shiny Growlithe"] = {fire},

["Shiny Arcanine"] = {fire},

["Shiny Poliwag"] = {water},

["Shiny Poliwhirl"] = {water},

["Shiny Poliwrath"] = {water, punch},

["Dark Abra"] = {enigma},

["Shiny Kadabra"] = {enigma},

["Dark Alakazam"] = {enigma},

["Togepi"] = {enigma},

["Togetic"] = {enigma},

["Togekiss"] = {enigma},

["Shiny Machop"] = {punch},

["Shiny Machoke"] = {punch},

["Shiny Machamp"] = {punch},

["Shiny Bellsprout"] = {leaf, venom},

["Shiny Weepinbell"] = {leaf, venom},

["Shiny Victreebel"] = {leaf, venom},

["Shiny Tentacool"] = {water, venom},

["Shiny Tentacruel"] = {water, venom},

["Cranidos"] = {earth, rock},

["Rampardos"] = {earth, rock},

["Shiny Geodude"] = {earth, rock},

["Shiny Graveler"] = {earth, rock},

["Shiny Golem"] = {earth, rock},

["Shiny Ponyta"] = {fire},

["Shiny Rapidash"] = {fire},

["Shiny Slowpoke"] = {water, enigma},

["Shiny Slowbro"] = {water, enigma},

["Shiny Magnemite"] = {thunder, metal},

["Shiny Magneton"] = {thunder, metal},

["Shiny Farfetch'd"] = {heart},

["Shiny Doduo"] = {heart},

["Shiny Dodrio"] = {heart},

["Shiny Seel"] = {water, ice},

["Shiny Dewgong"] = {water, ice},

["Shiny Grimer"] = {venom},

["Shiny Muk"] = {venom},

["Shiny Shellder"] = {water, ice},

["Shiny Cloyster"] = {water, ice},

["Shiny Gastly"] = {dark},

["Shiny Haunter"] = {dark},

["Shiny Gengar"] = {dark},

["Crystal Onix"] = {rock, earth},

["Darkrei"] = {dark},

["Umbreon"] = {dark},

["Espeon"] = {enigma},

["Crystal Steelix"] = {rock, earth},

["Shiny Drowzee"] = {enigma},

["Shiny Hypno"] = {enigma},

["Shiny Krabby"] = {water},

["Shiny Kingler"] = {water},

["Shiny Voltorb"] = {thunder},

["Shiny Electrode"] = {thunder},

["Shiny Exeggcute"] = {enigma, leaf},

["Shiny Exeggutor"] = {enigma, leaf},

["Shiny Cubone"] = {earth},

["Shiny Marowak"] = {earth},

["Elite Hitmonlee"] = {punch},

["Elite Hitmonchan"] = {punch},

["Shiny Lickitung"] = {heart},

["Shiny Koffing"] = {venom},

["Shiny Weezing"] = {venom},

["Shiny Rhyhorn"] = {earth, rock},

["Shiny Rhydon"] = {earth, rock},

["Rhyperior"] = {earth, rock},

["Shiny Chansey"] = {heart},

["Shiny Tangela"] = {leaf},

["Tangrowth"] = {leaf},

["Leafeon"] = {leaf},

["Shiny Kangaskhan"] = {heart},

["Shiny Horsea"] = {water},

["Shiny Seadra"] = {water},

["Shiny Goldeen"] = {water},

["Shiny Seaking"] = {water},

["Shiny Staryu"] = {water},

["Shiny Starmie"] = {water},

["Shiny Mr. Mime"] = {enigma},

["Shiny Scyther"] = {coccon},

["Gold Scizor"] = {coccon},

["Scizor"] = {coccon},

["Shiny Jynx"] = {enigma, ice},

["Shiny Regice"] = {enigma, ice},

["Regice"] = {enigma, ice},

["Regirock"] = {enigma, Rock},

["Shiny Regirock"] = {enigma, Rock},

["Weavile"] = {Dark, ice},

["Sneasel"] = {Dark, ice},

["Abomasnow"] = {Leaf, ice},

["Snover"] = {Leaf, ice},

["Mamoswine"] = {crystal, ice},

["Supreme Electabuzz"] = {thunder},

["Shiny Magmar"] = {fire},

["Shiny Electivire"] = {thunder},

["Shiny Magmortar"] = {fire},

["Electivire"] = {thunder},

["Magmortar"] = {fire},

["Shiny Pinsir"] = {coccon},

["Shiny Tauros"] = {heart},

["Shiny Magikarp"] = {water},

["Shiny Gyarados"] = {water, crystal},

["Shiny Lapras"] = {water, ice},

["Shiny Ditto"] = {heart},

["Shiny Eevee"] = {heart},

["Shiny Vaporeon"] = {water},

["Shiny Jolteon"] = {thunder},

["Shiny Flareon"] = {fire},

["Shiny Porygon"] = {heart, enigma},

["Shiny Omanyte"] = {rock, water},

["Shiny Omastar"] = {rock, water},

["Shiny Kabuto"] = {rock, water},

["Shiny Kabutops"] = {rock, water},

["Shiny Aerodactyl"] = {rock},

["Shiny Snorlax"] = {heart},

["Shiny Articuno"] = {ice},

["Glaceon"] = {ice},

["Shiny Zapdos"] = {thunder},

["Shiny Moltres"] = {fire},

["Shiny Dratini"] = {crystal},

["Shiny Dragonair"] = {crystal},

["Shiny Dragonite"] = {crystal},

["Gible"] = {crystal},

["Gabite"] = {crystal},

["Garchomp"] = {crystal},

["Milotic"] = {crystal},

["Shiny Mewtwo"] = {enigma},

["shiny blastoise"] = {water},

["Swampert"] = {water},

["Marshtomp"] = {water},

["Mudkip"] = {water},

["Wailmer"] = {water},

["Wailord"] = {water},

["Shiny Mew"] = {enigma}}

 

function doRestoreBoostMachine(cid, b_pos, p_pos, s_pos, msg, msg2)

 

doSendAnimatedText(b_pos, "DONE.", 215)

 

if isCreature(cid) then

doCreatureSetNoMove(cid, false)

doPlayerSendTextMessage(cid, 27, msg)

doPlayerSendTextMessage(cid, 27, msg2)

end

 

local ball_s = getTileItemById(p_pos, ballslot_run)

doTransformItem(ball_s.uid, ballslot)

 

local stne_s = getTileItemById(s_pos, stoneslot_run)

doTransformItem(stne_s.uid, stoneslot)

 

local butn_s = getTileItemById(b_pos, button_run)

doTransformItem(butn_s.uid, button)

 

end

 

local stones_required = { -- custo base de stones para boostar

[heart] = 1,

[leaf] = 1,

[water] = 1,

[venom] = 1,

[thunder] = 1,

[rock] = 1,

[punch] = 1,

[fire] = 1,

[coccon] = 1,

[crystal] = 1,

[dark] = 1,

[earth] = 1,

[enigma] = 1,

[ice] = 1,

}

 

local stone_increase = { -- a cada quantos boosts irá aumentar o custo de stones

[heart] = 90,

[leaf] = 90,

[water] = 90,

[venom] = 90,

[thunder] = 90,

[rock] = 90,

[punch] = 90,

[fire] = 90,

[coccon] = 90,

[crystal] = 90,

[dark] = 90,

[earth] = 90,

[enigma] = 90,

[ice] = 90,

}

 

function onUse(cid, item, topos, item2, frompos)

 

if isRunning(item.itemid) then

doPlayerSendCancel(cid, "Wait until boosting finishes.")

return true

end

 

if item.itemid == button then

 

local pbpos = topos

pbpos.x = pbpos.x + 1

local ball_slot = getTileItemById(pbpos, ballslot)

local myball = getContainerItem(ball_slot.uid, 0)

 

if myball.uid <= 0 or getItemWeight(myball.uid) == 0 then

doPlayerSendCancel(cid, "You need to put a pokeball in the ball slot.")

return true

end

 

local pokemon = getItemAttribute(myball.uid, "poke")

local boost = getItemAttribute(myball.uid, "boost") or 0

 

if boost >= 80 then

doPlayerSendCancel(cid, "Your pokemon is already at maximum boost.")

return true

end

 

local stnpos = pbpos

stnpos.x = stnpos.x - 2

local stone_slot = getTileItemById(stnpos, stoneslot)

 

local stone = getContainerItem(stone_slot.uid, 0)

 

if stone.uid <= 0 then

doPlayerSendCancel(cid, "You need to put a stone in the stone slot.")

return true

end

 

if not isStone(stone.itemid) then

doPlayerSendCancel(cid, "Please, put only stones in the stone slot.")

return true

end

 

if not isInArray(boost_stones[pokemon], stone.itemid) then

 

local cancelstr = "Sorry, you are not using the correct stone."

 

if #boost_stones[pokemon] > 1 then

local stonesused = ""

cancelstr = cancelstr.." This pokemon needs "

for su = 1, #boost_stones[pokemon] do

local n = doCorrectString(getItemNameById(boost_stones[pokemon][su]))

if su == #boost_stones[pokemon] then

stonesused = stonesused.." or "..getArticle(n).." "..n..""

elseif su == 1 then

stonesused = stonesused..""..getArticle(n).." "..n..""

else

stonesused = stonesused..", "..n..""

end

end

cancelstr = cancelstr..""..stonesused.." to be boosted."

else

cancelstr = cancelstr.." This pokemon needs a "..doCorrectString(getItemNameById(boost_stones[pokemon][1])).." to be boosted."

end

 

doPlayerSendCancel(cid, cancelstr)

 

return true

end

 

local removeStones = 0

local extraStones = math.floor(boost / stone_increase[stone.itemid])

local required_stones = stones_required[stone.itemid] + extraStones

 

local boosts = 0

 

for a = 0, getContainerSize(stone_slot.uid) - 1 do

 

local it = getContainerItem(stone_slot.uid, a)

 

if it.uid > 0 then

 

if not isStone(it.itemid) then

doPlayerSendCancel(cid, "Please, put only stones in the stone slot.")

return true

end

 

if it.itemid ~= stone.itemid then

doPlayerSendCancel(cid, "Please, put only one type of stone in the stone slot.")

return true

end

 

if required_stones > 0 then

required_stones = required_stones - 1

 

if required_stones <= 0 then

boosts = boosts + 1

removeStones = removeStones + stones_required[stone.itemid] + extraStones

if boost + boosts <= 49 then

extraStones = math.floor((boost + boosts) / stone_increase[stone.itemid])

required_stones = stones_required[stone.itemid] + extraStones

end

end

end

 

end

 

end

 

if required_stones > 0 and boosts == 0 then

doPlayerSendCancel(cid, "You need more stones to boost this pokemon.")

return true

end

 

for b = 1, removeStones do

doRemoveItem(getContainerItem(stone_slot.uid, 0).uid, 1)

end

 

local off = pokes[pokemon].offense * boost_rate * boosts

local def = pokes[pokemon].defense * boost_rate * boosts

local agi = pokes[pokemon].agility * boosts

local spatk = pokes[pokemon].specialattack * boost_rate * boosts

local vit = pokes[pokemon].vitality * boost_rate * boosts

 

doSetItemAttribute(myball.uid, "boost", boost + boosts)

doItemSetAttribute(myball.uid, "offense", getItemAttribute(myball.uid, "offense") + off)

doItemSetAttribute(myball.uid, "defense", getItemAttribute(myball.uid, "defense") + def)

doItemSetAttribute(myball.uid, "speed", getItemAttribute(myball.uid, "speed") + agi)

doItemSetAttribute(myball.uid, "specialattack", getItemAttribute(myball.uid, "specialattack") + spatk)

doItemSetAttribute(myball.uid, "vitality", getItemAttribute(myball.uid, "vitality") + vit)

 

local msg = "Your "..getPokeballName(myball.uid).." ["..getItemAttribute(myball.uid, "level").."] has been boosted!"

local msg2 = "• Boost: "..(boost + boosts).." (+"..boosts..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit)..""

 

local downpos = getThingPos(cid)

downpos.y = downpos.y + 1

 

local mypos = getThingPos(cid)

 

doTeleportThing(cid, downpos, false)

doTeleportThing(cid, mypos, false)

 

doTransformItem(ball_slot.uid, ballslot_run)

doTransformItem(stone_slot.uid, stoneslot_run)

doTransformItem(item.uid, button_run)

 

doCreatureSetNoMove(cid, true)

doCreatureAddCondition(cid, boostcondition)

 

addEvent(doRestoreBoostMachine, 3000, cid, getThingPos(item.uid), getThingPos(ball_slot.uid), getThingPos(stone_slot.uid), msg, msg2)

 

return true

end

end

diegorenan8D
23 de fevereiro de 2012 às 16:39

vlw .. vc tem msn passa ai :D

koisK
23 de fevereiro de 2012 às 16:41

kau-0@hotmail.com

diegorenan8D
23 de fevereiro de 2012 às 16:46

[23/02/2012 15:42:25] [Error - Action Interface]

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:onUse

[23/02/2012 15:42:25] Description:

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:272: attempt to get length of field '?' (a nil value)

[23/02/2012 15:42:25] stack traceback:

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:272: in function <data/actions/scripts/boost.lua:225>

 

Da error

 

[23/02/2012 15:45:56] [Error - Action Interface]

[23/02/2012 15:45:56] data/actions/scripts/boost.lua:onUse

[23/02/2012 15:45:56] Description:

[23/02/2012 15:45:56] data/actions/scripts/boost.lua:485: attempt to get length of field '?' (a nil value)

[23/02/2012 15:45:56] stack traceback:

[23/02/2012 15:45:56] data/actions/scripts/boost.lua:485: in function <data/actions/scripts/boost.lua:438>

koisK
23 de fevereiro de 2012 às 16:46

[23/02/2012 15:42:25] [Error - Action Interface]

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:onUse

[23/02/2012 15:42:25] Description:

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:272: attempt to get length of field '?' (a nil value)

[23/02/2012 15:42:25] stack traceback:

[23/02/2012 15:42:25] data/actions/scripts/boost.lua:272: in function <data/actions/scripts/boost.lua:225>

 

Da error

 

Veio vai no msn q eu te passo certinhno